home *** CD-ROM | disk | FTP | other *** search
- Path: fohnix.metronet.com!not-for-mail
- From: milam@fohnix.metronet.com (Stan Milam)
- Newsgroups: comp.lang.c
- Subject: Re: Free Pacific C problem
- Date: 13 Jan 1996 19:39:35 -0600
- Organization: Texas Metronet, Inc (login info (214/488-2590 - 817/571-0400))
- Message-ID: <4d9msn$k9p@fohnix.metronet.com>
- References: <4cm906$l8v@news.sas.ab.ca> <tcpnntpd.16.1.6.16.29.54.2781597121.325010@the-fix.sos.on.ca> <30f11e6a.255489216@news.bne.aone.net.au>
- NNTP-Posting-Host: fohnix.metronet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Clyde Smith-Stubbs (clyde@hitech.com.au) wrote:
- : On Sat,6 Jan 96 16:29:54 -0500, <verneb@the-fix.sos.on.ca> wrote:
-
- : > I have it loaded on my machine too but use TC3 because Pacific is
- : >not a true Ansi C program. Just as an example the comment lines //
-
- : This is an extension, non-ANSI, yes, but I don't believe there are any
- : compilers out there that in their default mode accept only strictly
- : conforming ANSI C programs. You'd be surprised how many people believe
- : that the // comment feature is *already* part of C. It's certain to be
- : added in the next release of the standard - just like function
- : prototypes were borrowed from C++.
-
- // may be an extension, but what about the things that are missing which are
- necessary for ANSI compliance? For example, try this program with Pacific C:
-
- #include <stdio.h>
- #include <stdlib.h>
-
- int main( void ) {
-
- printf( "Hello World!\n" );
- return EXIT_SUCCESS;
- }
-
- Guess what? It will not even compile. Seems EXIT_SUCCESS is not defined in
- stdlib.h as it should be. Okay, so I fix this and spend the next hour and a
- half getting it to compile a simple hex dump program. There are lots of ANSI
- functions missing from the library.
-
- : > This is a Beta model you
- : >know or we'd have had to pay for it.
-
- : No it's not - it's a production quality compiler, with a 14 year
- : pedigree. It's being given away simply because it's pointless trying
- : to *sell* MS-DOS compilers now. The parser, code generator etc. are
- : basically the same as our 8086 cross compiler which sells for around
- : $1000.
-
- After 14 years seems like it should really be nearer to ANSI than it is.
- Especially since you tout it as an ANSI compiler!
-
- : ----
- : Clyde Smith-Stubbs | HI-TECH Software, | Voice: +61 7 3300 5011
- : clyde@hitech.com.au | P.O. Box 103, Alderley, | Fax: +61 7 3300 5246
- : http://www.hitech.com.au | QLD, 4051, AUSTRALIA. | BBS: +61 7 3300 5235
- : ----------------------------------------------------------------------------
- : FREE! Download our shareware (FREE for noncommercial use) MS-DOS C Compiler!
- : Point your Web browser at http://www.hitech.com.au/
-